package com.young;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @Description: admin项目的启动类
 * @Author: kangyang
 * @Date: 2021/5/1 9:29
 **/
@SpringBootApplication
@MapperScan("com.young.mapper")
@EnableCaching
@EnableAspectJAutoProxy
@EnableDubbo
public class AdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class);
    }
}
